html{
	height: 100%;
	position: relative;
	overflow: hidden;
}

body{
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	position: absolute;
	overflow: hidden;
}

.header, .footer{
	width: 100%;
	background-color: #AACCF6;
}

.header{
	height: 30px;
	border-bottom: 1px solid #15418B; 
}

.footer{
	height: 25px;
	position: absolute;
	bottom: 0;
	border-top: 1px solid #15418B;
}

.header_title, .footer_title{
	padding-left: 10px;
	padding-top: 2px;
	color: #15418B;
	font-family: serif;
	font-weight: bold;
}

.header_title{
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 30%;
}

.footer_title{
	padding-bottom: 5px;
	font-size: 16px;
}

.logo{
	float: right;
	position: absolute;
	bottom: 25px;
	right: 0;
}

/*form styles*/

.form-wrapper{
	position: relative;
	margin: 30px 0px 0px 10px;
	background-color: #FFF;
	border: 1px solid #15418B;
	border-radius: 3px;
}

.login-form-wrapper{
	width: 300px;
	height: 280px;
}

.registration-form-wrapper{
	width: 400px;
	height: 400px;
}


.registration-success-form-wrapper{
	width: 350px;
	height: 270px;
}

.login-form-error-wrapper{
	width: 300px;
	height: 120px;
}

.logout-form-wrapper{
	width: 350px;
	height: 170px;
}

.registration-form-error-wrapper{
	display: none;
	position: absolute;
	top: 30px;
	width: 450px;
	height: 100px;
	margin-left: 460px;
}

.userprofile-form-wrapper{
	width: 400px;
	height: 430px;
}

.editweight-form-wrapper{
	width: 400px;
	height: 510px;
}

.editeating-form-wrapper{
	width: 400px;
	height: 340px;
}

.form-header, .form-footer{
	width: 100%;
	height: 30px;
	background-color: #AACCF6;
}

.form-footer{
	position: absolute;
	bottom: 0;
	background-color: #AACCF6;
}

.form-title{
	color: #15418B;
    float: left;
    font-size: 18px;
    font-weight: bold;
    font-family: serif;
    overflow: hidden;
    padding-left: 10px;
    padding-top: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 90%;
}

.form-error-title{
	color: #F00;
}

.form-text{
	text-align: left;
	margin: 5px 0px 0px 5px;
	font-weight: bold;
}

.form-error-text{
	color: #F00;
}

.form-error-text-center{
	text-align: center;
}

.form-info-text, 
.form-info-text-title{
	color: #15418B; 
}

.form-info-text-title{
	text-align: center;
}

.registration-success-text{
	color: #000; 
	display: inline;
}

.form-label{
	font-weight: bold;
	color: #15418B;	
	display: block;
    width: 70px;
    float: left;
    margin: 15px 4px 6px 4px;
    padding-top: 1px;
    text-align: right;
}

.registration-form-field-label{
    width: 170px;
}

.editweight-form-field-label{
	width: 97px;
}

.editeating-form-field-label{
	width: 124px;
}

.label-check-select, .checkbox{
	vertical-align: middle;
}

.label-check-select{
	font-weight: bold;
	color: #15418B;	
}

.form-field{
	margin: 15px 0px 0px 0px;
	width: 190px;
	height: 25px;
	font-size: 14px;
	border: 1px solid #15418B;
	border-radius: 3px;
}

.form-textarea{
	width: 237px;
	height: 80px; 
}

.editweight-form-field{
	width: 263px;
}

.editweight-form-field-readonly{
	background-color: #EEE;
}

.editeating-form-field{
	width: 237px;
}

.form-field-valid{
	background-color: #DFD;
}

.form-field-invalid{
	background-color: #FDD;
}

.form-button-wrapper1, .form-button-wrapper2{
	margin-left: 78px;
	margin-top: 10px;
}

.form-button-wrapper1{
	text-align: right;
	width: 191px;
}

.trenning-wrapper{
	margin-left: 30px;
}

.registration-form-button-wrapper{
	margin-left: 10px;
	margin-top: 10px;
	text-align: right;
	padding-right: 30px;
}

.form-button{
	margin: 0px 0px 0px 0px;
	width: 90px;
	height: 30px;
	background-color: #AACCF6;
	color: #15418B;
	font-weight: bold;
	border: 1px solid #15418B; 
	border-radius: 3px;
}

.form-button:HOVER{
	background-color: #15418B;
	color: #FFF;
	border-color: #AACCF6;
}

.form-button-disabled, 
.form-button-disabled:HOVER{
	margin: 0px 0px 0px 0px;
	width: 90px;
	height: 30px;
	background-color: #DDD;
	color: #FFF;
	font-weight: bold;
	border: 1px solid #15418B;
	border-radius: 3px; 
}

.form-button-login{
	float: left;
}

.form-button-registration, 
.form-button-back-to-login, 
.form-button-goto-login,
.form-button-add, 
.form-button-logout, 
.form-button-profile,
.form-button-goto-main{
	display: block;
    margin: 10px 0 0 78px;
    width: 190px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
}

.form-button-add {
	margin: 0px;
    width: 200px;
}	

.form-button-logout, 
.form-button-profile, 
.form-button-goto-main{
	display: none;
	height: 25px;
	line-height: 25px;
	margin: 2px 5px 0px 0px;
	float: right;
}

.form-button-logout{
	width: 90px;
}

.form-button-profile{
	width: 100px;
}

.form-button-goto-main{
	width: 170px;
}

.form-button-goto-login{
    margin: 20px 0 0 60px;
    width: 230px;
}

.form-button-back-to-login,
.form-button-register,
.form-button-registration-clear{
	width: 110px;
}

.form-button-back-to-login{
	display: inline-block;
	margin-left: 10px;
	height: 28px;
	line-height: 29px;
}

.form-button-add-eating{
	margin-left: 30px;
	width: 190px;
}

/*table styles*/

.table-wrapper{
	width: 850px;
	position: relative;
	margin: 10px 0px 0px 10px;
	background-color: #FFF;
	border: 1px solid #15418B;
	border-radius: 3px;
}

.overweight{
	color: #800;
}

.underweight{
	color: #080;
}

.datetime{
	color: #111;
}

.weight{
	font-weight: bold;
	color: #111;
}

.trenning{
	background-color: #0D0; 
	display: inline; 
	padding: 3px; 
	border: 1px solid #111; 
	margin-top: 4px; 
	border-radius: 3px;
}

.eatings-wrapper{
	margin: 15px 30px 10px 30px; 
	padding: 10px 0px 10px 30px;
	border: 1px solid #15418B;
	border-radius: 3px;
}


.eating-item, .weight-item{
	padding: 3px; 0px; 3px; 5px;
	display: block;
	text-decoration: none;
	border: 1px solid #15418B;
	border-radius: 3px;
	color: #15418B;
	font-weight: bold;
}

.weight-item{
	width: 95%;
	margin: 5px 10px 5px 10px;
	background-color: #AACCF6;
	padding-top: 7px;
}

.eating-item{
	width: 270px;
	margin: 5px 30px 10px 0px;
	background-color: #AACCF6;
}

.eating-item:HOVER {
	background-color: #15418B;
	color: #FFF;
	border-color: #AACCF6;
}

.eating-type-select{
	width: 204px; 
	height: 30px;
	border: 1px solid #15418B;
	border-radius: 3px;
}

.weight-grid-contailner{
	overflow-y: auto; 
	height: 500px;
}